package com.usermanage.util;

import com.change.Enum.EnvironmentEnum;

/**
 * Created by  on 2018/9/10
 */
public class StaticUtil {

    /**
     * 分页
     */
    public static String pageIndex = "1";
    public static String sizeCount = "100";
    /**
     *
     */
    public static String company = "上海品宅装饰科技有限公司";
    /**
     * 本地测试地址
     */
//    public static String SKUIP = "http://192.168.1.123:8080";
//    public static String ORDERIP = "http://192.168.1.123:8080";
//    public static String EOSIP = "http://192.168.1.146:8080";
//    public static String LUCENE = "http://192.168.1.145:8080/lucene";

    /**
     * 测试地址ss
     * //
     */
//    public static String SKUIP = "https://dataCenter.pinza.ltd:1443";
//    public static String EOSIP = "https://eos.pinza.ltd:1443";
//    public static String ORDERIP = "https://order.pinza.ltd:1443";
//    public static String LUCENE = "https://lucene.pinza.ltd:1443/lucene";
//    public static String OUTSTOCK = "https://lucene.pinza.ltd:1443/initialize/outstock";
//    public static EnvironmentEnum environmentEnum = EnvironmentEnum.FORMAL;
//    public static String DATASOURCE = "INFORMALITY";//测试环境
//    public static String JDCOMPANY = "20";
//    public static Integer JDTARIFFID = 1;
//    public static String GONGYINGLIANGROUP = "110";


    /**
     * 正式环境地址
     */
    public static String SKUIP = "https://datacenter.pinza.com.cn";
    public static String EOSIP = "https://eos.pinza.com.cn";
    public static String ORDERIP = "https://order.pinza.com.cn";
    public static String LUCENE = "https://lucene.pinza.com.cn/lucene";
    public static String OUTSTOCK = "https://lucene.pinza.com.cn/initialize/outstock";
    public static EnvironmentEnum environmentEnum = EnvironmentEnum.FORMAL;
    public static String DATASOURCE = "OFFICIAL";//正式环境
    public static String JDCOMPANY = "20";
    public static Integer JDTARIFFID = 1;
    public static String GONGYINGLIANGROUP = "110";

    public static String[] SKUFIELDS = {"sku_name", "sku_code", "sku_brand", "sku_unit", "sku_model", "sku_slug_set", "sku_system_code", "sku_content", "sku_lead_time"};
    public static String[] ORDERFIELDS = {"orderBill_id", "project_name", "userGroup_name", "consignee_information", "sku_name", "sku_code", "sku_brand", "sku_unit", "sku_model", "sku_slug_set", "sku_system_code", "sku_content", "sku_lead_time", "sku_model"};


    //****************************************************邓腾飞SKU接口开始******************************************************************
    /**
     * 获取sku列表，目前用于添加合作合同选择sku界面
     */
    public static String SKULISTURL = SKUIP + "/sku/list.json";

    /**
     * 根据skuCode补全合作sku的spu，及分类信息
     */
    public static String GETSKUINFO = SKUIP + "/sku/contractDataCenterBySkuCodeList.json?SkuCodeList=";
//******************************************************邓腾飞SKU接口结束********************************************************************

    public static String OSSURL = "https://pinzafile.oss-cn-shanghai.aliyuncs.com/";
}
